package com.mkl.business.service;

import com.mkl.business.domain.Goods;
import com.baomidou.mybatisplus.extension.service.IService;
import com.mkl.business.vo.GoodsVo;
import com.mkl.system.common.DataGridView;

/**
 * @author king
 * @version 1.0
 * @date 2020/4/8 10:50
 */
public interface GoodsService extends IService<Goods> {


    DataGridView queryAllGoods(GoodsVo goodsVo);

    Goods saveGoods(Goods goods);

    Goods updateGoods(Goods goods);

    DataGridView getGoodsByProviderId(Integer providerid);

    DataGridView getAllAvailableGoods();

    Integer getAllAvailableGoodsSum();

    Integer getAllAvailableGoodsTypeSum();
}
